Skip to content

Instantly share code, notes, and snippets.

@lfsmoura
lfsmoura / deploying-hermes-agent-on-dokploy.md
Last active July 3, 2026 18:19
Deploying Hermes Agent (NousResearch) on Dokploy β€” step-by-step guide

Deploying Hermes Agent on Dokploy

A step-by-step guide to deploying NousResearch Hermes Agent on a VPS using Dokploy, secured with Tailscale and a locked-down firewall.

Prerequisites

  • A VPS with Dokploy installed
  • Dokploy API token (Settings β†’ API Keys in Dokploy UI)
  • A Telegram bot token from @BotFather
  • An LLM API key (OpenAI-compatible endpoint)

Widget Creator Script

This script does most of the widget creating work for you if you've found the manual tutorials too hard to follow.

How to use:

  1. Navigate to the Discord Developer Portal
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
Details
@selcukcihan
selcukcihan / software_engineering.md
Created May 21, 2026 17:20
Software engineering in a nutshell
  • NodeJS and JavaScript
    • Event loop
    • Parallel programming
    • Async
    • Libuv and the thread pool
    • Streams and backpressure
    • Worker threads vs child processes
    • Memory model (V8 heap, garbage collection, memory leaks)
    • CommonJS vs ESM modules
  • Clustering and process management (PM2, cluster module)
@Obzl
Obzl / gist:6da5a8ffa090393d5b383f0827a0e4d7
Created December 29, 2022 03:32
Free Windows Server Key
Windows Server 2022 Standard key:
HP9DJ-NK2X6-4QPCH-8HY8H-6X2XY
RRNMT-FP29D-CHKCH-GWQP2-DDDVB
44QN4-X3R72-9X3VK-3DWD6-HFWDM
CGGN9-DG8BW-PMBB4-Y79Y9-Y7X7B
PGQ8Y-WHN93-WY67T-FJXP7-QPHHB
Windows Server 2022 Datacenter Key
N7MMC-VGFH4-GVRDT-K9Q44-X2HJH
MNF6T-BTCTK-Q4HPP-KP2WG-VCHJH

How to run Multiple Claude Code Accounts

Run two Claude Code accounts simultaneously on your computer without re-authenticating by using separate configuration directories.

Notes

  • Requires separate Anthropic accounts (different emails).
  • Update Claude Code: npm install -g @anthropic-ai/claude-code.
  • If re-authentication occurs, verify CLAUDE_CONFIG_DIR with echo $CLAUDE_CONFIG_DIR.
@ocombe
ocombe / README.md
Last active July 3, 2026 18:04
ChatGPT Conversation Exporter β€” export all your conversations as JSON + Markdown + ZIP. No dependencies beyond bash, curl, python3.

ChatGPT Conversation Exporter

Export all your ChatGPT conversations as JSON + Markdown + HTML + ZIP. Works with ChatGPT Business/Team/Enterprise accounts (including SSO/Okta).

What's exported

  • JSON β€” Raw conversation data from the API
  • Markdown β€” Clean text with headers per message, relative links to downloaded files
  • HTML β€” ChatGPT-style conversation viewer with sidebar navigation, syntax-highlighted code blocks, and embedded images
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active July 3, 2026 18:02
Conventional Commits Cheatsheet
@bagder
bagder / mythos.md
Created May 13, 2026 06:35
mythos scan of curl 2026-05-06

curl security review log

Started: 2026-05-06
Commit: 455bebc2c7 (master)
Scope: 178k LoC C, lib/ + src/
Code links: https://github.com/curl/curl/tree/455bebc2c76223a1be26042f6d2393715c0df0cd (all line refs below pin to this commit)

Approach

curl is one of the most fuzzed and audited C codebases in existence (OSS-Fuzz, Coverity, CodeQL, multiple paid audits). Finding anything in the hot paths (HTTP/1, TLS, URL parsing core) is unlikely. Focus instead on:

@hlfshell
hlfshell / ultralearning.md
Created January 15, 2023 22:08
Ultralearning Notes

Ultralearning

The following is the notes I took years ago on the book Ultralearning by Scott Young. The bombastic title and promise to learn virtually anything quickly makes it sound as if its the typical marketing-powered fluff-filled nonfiction book stores are overflowing with, but something about this book stuck with me. After finishing it I quickly went back and wrote these thoughts down. While I don't follow his layout of plans regularly, I have used it to guide a lot of my own self education.

I've successfully utilized it when I needed to refresh on mathematics for my Master's degree (a host of skills that atrophied sigificantly for the dozen years between undergrad and the masters). I've also used it to self-study subjects like Robotics and Deep Learning (though I did decide in the end to go for the Master's accreditation).

I share it here with hopes that someone finds it useful.


Principle 1 - Metalearning